package com.it.springbootjpa.service;

import com.it.springbootjpa.domain.Contract;
import com.it.springbootjpa.query.ContractQury;

import java.util.List;

public interface ContractService {
    void save(Contract contract);
    void update(Contract contract);
    void delete(Contract contract);
    List<Contract> findAll();
    List<Contract> findByCondition(ContractQury contractQury);

}
